<div class="container box-login">
<form role="login.form" ng-submit="login.submit()">
    <div class="form-group">
        <p class="form-msg alert alert-danger" ng-show="login.form.$invalid">{{login.serverMsg}}</p>
    </div>
    <div class="form-group">
        <input type="text" class="form-control an-input" id="qq" name="qq" ng-model="login.qq" required="required" placeholder="帐号(QQ号)" autofocus="true">
    </div>
    <div class="form-group">
        <input type="password" class="form-control an-input" id="password" placeholder="密码" name="password" ng-model="login.password" required="required">
    </div>

    <!-- <div class="form-group">
        <label><input type="checkbox" name="rememberMe" ng-model="login.rememberMe"> <span>记住我（7天）</span></label>
    </div> -->
    <div class="form-group">
        <button type="submit" class="btn btn-block btn-success" ng-disabled="login.form.$invalid" id="submit">登录</button>
    </div>
    <div class="form-group">
            还没有帐号？ 点击这里 <a ng-href="#/register" class="red">注册</a>
    </div>
</form>
</div>
